package com.zzyl.nursing.job;

import com.zzyl.nursing.service.IAlertDataService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * 定时报警任务
 *
 * @Author Yjr
 * @Date 2025/5/29 15:25
 */
@Slf4j
@Component
public class AlertJob {

    @Autowired
    private IAlertDataService iAlertDataService;

    /**
     * 设备报警数据过滤
     */
    public void deviceDataAlertFilter(){
        iAlertDataService.alertFilter();
        log.info("开始过滤完成");
    }
}
